package com.cover.pojo;

public class ChannelInfo {
    private int ChannelId;
    private int Direction;
    private int DriveWay;
    private CarList Car_List;

    public ChannelInfo() {
        Car_List = new CarList();
    }

    public CarList getCarList() {
        return Car_List;
    }

    public void setCarList(CarList carList) {
        this.Car_List = carList;
    }

    public int getChannelId() {
        return ChannelId;
    }

    public void setChannelId(int channelId) {
        ChannelId = channelId;
    }

    public int getDirection() {
        return Direction;
    }

    public void setDirection(int direction) {
        Direction = direction;
    }

    public int getDriveWay() {
        return DriveWay;
    }

    public void setDriveWay(int driveWay) {
        DriveWay = driveWay;
    }

//    @Override
//    public String toString() {
//        return "ChannelInfo{" +
//                Car_List.toString() +
//                '}';
//    }

    @Override
    public String toString() {
        return Car_List + "," + ChannelId + ","  + Direction + ","  + DriveWay;
    }
}
